package com.example.cgpsys.other.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "file")
public class SystemFileConfig {

    private static String uploadPath;

    public SystemFileConfig() {
    }

    public static String getFileUploadPath() {
        return uploadPath;
    }

    public void setFileUploadPath(String fileUploadPath) {
        SystemFileConfig.uploadPath = fileUploadPath;
    }
}
